Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Made monit's PROGRAM STATUS TESTING work, made ACTION EXEC work, made exec path accept parameters. #9

Merged
merged 3 commits into from
Sep 3, 2015

Conversation

derjohn
Copy link
Contributor

@derjohn derjohn commented Sep 2, 2015

No description provided.

jonhattan added a commit that referenced this pull request Sep 3, 2015
Made monit's PROGRAM STATUS TESTING work, made ACTION EXEC work, made exec path accept parameters.
@jonhattan jonhattan merged commit 2efb3e1 into sbitio:master Sep 3, 2015
@jonhattan
Copy link
Member

Merged. Thanks!

@derjohn
Copy link
Contributor Author

derjohn commented Sep 7, 2015

@jonhattan According to monit's doc you can also call a script with arguments, like '/foo/myscript bar baz'. In that case you validation would fail. I have to idea in which version of monit the argument stuff will work, in 5.6 it doesn't, the docs say it works with 5.14.
And yes, it would be cleaner to split after the first blank and validate [0] only :)

@derjohn
Copy link
Contributor Author

derjohn commented Sep 7, 2015

Like this: derjohn@cee133a

(untested, I will make a pull-request after I tested it)

@jonhattan
Copy link
Member

Changed the implementation of ACTION EXEC in b071dd5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants